import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-card-check-all',
  templateUrl: './card-check-all.component.html',
  styles: [
    `
      .ui-card-check-all {
        width: 120px;
        height: 60px;
      }
      ::ng-deep .ui-card-check-all .lv-card-body {
        padding: 0;
        height: 100%;
      }
      .ui-card-flex {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
      }
      .ui-card-check-all.ui-part-select {
        border-color: #4d4d4d;
      }
    `,
  ],
  changeDetection: ChangeDetectionStrategy.OnPush,
})
export class CardCheckAllComponent implements OnInit {
  selected = [];
  data = [];

  ngOnInit() {
    for (let i = 1; i < 6; i++) {
      this.data.push({
        value: `card${i}`,
        label: `Card 00${i}`,
      });
    }
  }
}
